import Mock from 'mockjs'

const data = Mock.mock({
    code: '200',
    message: '请求成功',
    'data|4-10': [{
        'id|+1': 1,
        'doc':'@cword(1)',
        'position|1': ['主任医师', '副主任医师'],
        "tit|1":['0','1','2'],
        'hos|1': ['口腔医院', '骨科医院', '妇科医院','儿童医院','精神科医院','肿瘤医院','北京大学第一医院'],
        'kinds|1':['心血管内科','脑科','外科','内科','皮肤科'],
        'illness1|1':['心血管疾病','心脏病','冠心病'],
        'illness2|1':['糖尿病','脑血栓','颅内出血'],
        'illness3|1':['骨质增生','肠胃炎','肾结石'],
        'name':'@cword(1)',
        'time|1':['2020-05-05','2020-06-01','2020-07-08','2021-01-14'],
        'after|1':[0,1],
        'price|1':[50,60,70,80,90,100],
        'age|1':[0,1],

    }]
})

Mock.mock('/myres', 'post', (config) => {
 
    return data
})